package com.jmlee.service;

import com.jmlee.pojo.*;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface AOrderService {

    /**
     * 分页查询订单信息
     */
    /**
     * 根据id查询订单商品信息
     */
    List<AOrderItems> queryOrderById(Long id);
    /**
    * 根据id查询订单评价信息
     */
    AItemComments queryCommentsById(Long id);

    //提交评价
    Integer insertSubmit(AItemComments aItemComments);

    //根据id查询订单退款金额
    AOrders queryRefundById(Long id);
    /**
     * 根据id查询用户
     *
     * @param id
     * @return
     */
    Users queryUsersById(Long id);

    int selectOrderListCount(AOrders AOrders,Long  id );

    List<AOrders> selectOrderList(AOrders AOrders, RowBounds rowBounds,Long  id );


    int selectShopOrderListCount(AOrders AOrders );

    List<AOrders> selectShopOrderList(AOrders AOrders, RowBounds rowBounds );


}
